package com.kangye.exam.service;

import com.github.pagehelper.PageInfo;
import com.kangye.exam.bean.Itembank;
import com.kangye.exam.bean.Paper;

import java.util.List;

public interface PaperService {
    PageInfo selectBysubjectName(String subjectName,Integer pageNum,Integer pageSize);
    PageInfo selectByid(Integer itemId,String typeName,Integer pageNum,Integer pageSize);
    Integer createpaper(String paperName,String paperPath,Integer paperTime,Integer teahcerId,String subjectName);
    PageInfo paperall(Integer teacherId,Integer paperId,Integer subjectId,Integer pageNum,Integer pageSize);
    Integer delpaper(Integer paperId);


}
